﻿namespace ProgrammingEducationSystem.Repository.IRepository
{
    public interface IBaseRepository<Model> where Model : class
    {
       Task AddAsync(Model model);
       void Update(Model model);
       void Delete(Model model);
       void DeleteList(List<Model> model);
       Task<Model?> FindAsync(Guid id);
       Task<List<Model>?> FindAllAsync();
       Task<bool> SaveAsync();
    }
}
